﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A93 RID: 2707
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LOCAOOGDAMB : IMessage<LOCAOOGDAMB>, IMessage, IEquatable<LOCAOOGDAMB>, IDeepCloneable<LOCAOOGDAMB>, IBufferMessage
	{
		// Token: 0x17002224 RID: 8740
		// (get) Token: 0x0600790B RID: 30987 RVA: 0x00143225 File Offset: 0x00141425
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LOCAOOGDAMB> Parser
		{
			get
			{
				return LOCAOOGDAMB._parser;
			}
		}

		// Token: 0x17002225 RID: 8741
		// (get) Token: 0x0600790C RID: 30988 RVA: 0x0014322C File Offset: 0x0014142C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LOCAOOGDAMBReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002226 RID: 8742
		// (get) Token: 0x0600790D RID: 30989 RVA: 0x0014323E File Offset: 0x0014143E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LOCAOOGDAMB.Descriptor;
			}
		}

		// Token: 0x0600790E RID: 30990 RVA: 0x00143245 File Offset: 0x00141445
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LOCAOOGDAMB()
		{
		}

		// Token: 0x0600790F RID: 30991 RVA: 0x0014324D File Offset: 0x0014144D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LOCAOOGDAMB(LOCAOOGDAMB other) : this()
		{
			this.mLMDEBKIGBH_ = ((other.mLMDEBKIGBH_ != null) ? other.mLMDEBKIGBH_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007910 RID: 30992 RVA: 0x00143282 File Offset: 0x00141482
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LOCAOOGDAMB Clone()
		{
			return new LOCAOOGDAMB(this);
		}

		// Token: 0x17002227 RID: 8743
		// (get) Token: 0x06007911 RID: 30993 RVA: 0x0014328A File Offset: 0x0014148A
		// (set) Token: 0x06007912 RID: 30994 RVA: 0x00143292 File Offset: 0x00141492
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameSkill MLMDEBKIGBH
		{
			get
			{
				return this.mLMDEBKIGBH_;
			}
			set
			{
				this.mLMDEBKIGBH_ = value;
			}
		}

		// Token: 0x06007913 RID: 30995 RVA: 0x0014329B File Offset: 0x0014149B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LOCAOOGDAMB);
		}

		// Token: 0x06007914 RID: 30996 RVA: 0x001432A9 File Offset: 0x001414A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LOCAOOGDAMB other)
		{
			return other != null && (other == this || (object.Equals(this.MLMDEBKIGBH, other.MLMDEBKIGBH) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007915 RID: 30997 RVA: 0x001432DC File Offset: 0x001414DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.mLMDEBKIGBH_ != null)
			{
				num ^= this.MLMDEBKIGBH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007916 RID: 30998 RVA: 0x00143318 File Offset: 0x00141518
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007917 RID: 30999 RVA: 0x00143320 File Offset: 0x00141520
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007918 RID: 31000 RVA: 0x00143329 File Offset: 0x00141529
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.mLMDEBKIGBH_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.MLMDEBKIGBH);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007919 RID: 31001 RVA: 0x0014335C File Offset: 0x0014155C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.mLMDEBKIGBH_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MLMDEBKIGBH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600791A RID: 31002 RVA: 0x0014339C File Offset: 0x0014159C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LOCAOOGDAMB other)
		{
			if (other == null)
			{
				return;
			}
			if (other.mLMDEBKIGBH_ != null)
			{
				if (this.mLMDEBKIGBH_ == null)
				{
					this.MLMDEBKIGBH = new TrainPartyGameSkill();
				}
				this.MLMDEBKIGBH.MergeFrom(other.MLMDEBKIGBH);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600791B RID: 31003 RVA: 0x001433F0 File Offset: 0x001415F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600791C RID: 31004 RVA: 0x001433FC File Offset: 0x001415FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 114U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.mLMDEBKIGBH_ == null)
					{
						this.MLMDEBKIGBH = new TrainPartyGameSkill();
					}
					input.ReadMessage(this.MLMDEBKIGBH);
				}
			}
		}

		// Token: 0x04002E53 RID: 11859
		private static readonly MessageParser<LOCAOOGDAMB> _parser = new MessageParser<LOCAOOGDAMB>(() => new LOCAOOGDAMB());

		// Token: 0x04002E54 RID: 11860
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E55 RID: 11861
		public const int MLMDEBKIGBHFieldNumber = 14;

		// Token: 0x04002E56 RID: 11862
		private TrainPartyGameSkill mLMDEBKIGBH_;
	}
}
